#include "split.hpp"

using namespace std;

int main()
{
    string s = "...news.#.haha.aah.#.";
    std::vector<string> vs;
    size_t size = split(s, ".", vs);

    for(auto& e: vs)
    {
        cout << e << endl;
    }
    return 0;
}